Skip to content

chore: add job-level permissions to all CI workflows#2135

Merged
texastony merged 4 commits into
refactor-go-testsfrom
refactor-ci-workflow-permissions
Mar 16, 2026
Merged

chore: add job-level permissions to all CI workflows#2135
texastony merged 4 commits into
refactor-go-testsfrom
refactor-ci-workflow-permissions

Conversation

@texastony

@texastony texastony commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Add job-level permissions to every workflow job that didn't already have a permissions block. This follows the principle of least privilege by scoping permissions at the job level rather than relying solely on workflow-level defaults.

Each new permissions block includes:

  • contents: read
  • pull-requests: write
  • id-token: write

Jobs that already had a permissions block were left untouched.

22 files modified, 113 jobs updated.

@texastony texastony requested a review from a team as a code owner March 16, 2026 17:35
@github-actions

Copy link
Copy Markdown

Detected changes to the release files or to the check-files action

@github-actions

Copy link
Copy Markdown

Changes to the release files or the check-files action requires 2 approvals from CODEOWNERS

@github-actions

Copy link
Copy Markdown

Detected changes to the release files or to the check-files action

@github-actions

Copy link
Copy Markdown

Changes to the release files or the check-files action requires 2 approvals from CODEOWNERS

@github-actions

Copy link
Copy Markdown

Detected changes to the release files or to the check-files action

@github-actions

Copy link
Copy Markdown

Changes to the release files or the check-files action requires 2 approvals from CODEOWNERS

@texastony texastony force-pushed the refactor-ci-workflow-permissions branch from af44368 to 69e9d34 Compare March 16, 2026 17:52
@github-actions

Copy link
Copy Markdown

Detected changes to the release files or to the check-files action

@github-actions

Copy link
Copy Markdown

Changes to the release files or the check-files action requires 2 approvals from CODEOWNERS

@texastony texastony changed the base branch from main to refactor-go-tests March 16, 2026 17:53
Comment thread .github/workflows/daily_ci.yml Outdated
Co-authored-by: Rishav karanjit <karanjitrishav4@gmail.com>
@github-actions

Copy link
Copy Markdown

Detected changes to the release files or to the check-files action

@github-actions

Copy link
Copy Markdown

Changes to the release files or the check-files action requires 2 approvals from CODEOWNERS

@texastony texastony merged commit 0d0c300 into refactor-go-tests Mar 16, 2026
64 of 101 checks passed
@texastony texastony deleted the refactor-ci-workflow-permissions branch March 16, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants